package com.wfy.mapper;

import com.wfy.entity.User;
import com.wfy.entity.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface UserMapper {

    List<User> getAllUser();

    /**
     * @param userName
     * @param passWord
     * @return List<UserInfo>
     */
    List<UserInfo> getUserInfo(@Param("userName") String userName, @Param("passWord") String passWord);
}
